package main

import (
	"gin/internal/grpc"
	"gin/internal/router"
	"github.com/gin-gonic/gin"
)

func main() {

	grpc.CourseClient()
	engine := gin.Default()
	router.Router(engine)
	err := engine.Run(":6")
	if err != nil {
		panic(engine)
	}
}
